<?php
    use yii\bootstrap\ActiveForm;
    use yii\helpers\Html;
    $this->title = $title;
    $this->params['breadcrumbs'][]='>';
    $this->params['breadcrumbs'][] = ['label' => '订单管理', 'url' => ['/admin/order/list']];
    $this->params['breadcrumbs'][]='>';
    $this->params['breadcrumbs'][] = $this->title;
    $this->registerCssFile('/web/admin/css/compiled/new-user.css');
$css = <<<CSS
.span8 div{
    display:inline;
}
.help-block-error {
    color:red;
    display:inline;
}
CSS;
$this->registerCss($css);
?>
    <!-- main container -->
        <div class="container-fluid">
            <div id="pad-wrapper" class="new-user">
                <div class="row-fluid header">
                    <h3><?php echo $title?></h3>
                </div>
                <div class="row-fluid form-wrapper">
                    <!-- left column -->
                    <div class="span9 with-sidebar">
                        <div class="container">
                            <div class="span12 field-box">
                                <label class="control-label" for="order-pic">关联产品</label>
                                <?php echo $productlist[$model->productid];?>
                            </div>
                            <div class="span12 field-box">
                                <label class="control-label" for="order-pic">合同编号</label>
                                <?php echo $model->contractNum;?>
                            </div>
                            <div class="span12 field-box">
                                <label class="control-label" for="order-pic">报修问题</label>
                                <?php echo $model->question;?>
                            </div>

                            <div class="span12 field-box">
                                <label class="control-label" for="order-pic">订单状态</label>
                                <?php echo $status_arr[$model->status];?>
                            </div>
                            <div class="span12 field-box">
                                <label class="control-label" for="order-pic">订单详情</label>
                                <?php echo $model->info;?>
                            </div>
                            <img src="<?php echo $model->coverUrl;?>">
                            <hr>
                            <div class="span11 field-box actions">
                                <?php echo Html::a('返回',\yii\helpers\Url::to(['order/list']), ['class' => 'btn-glow primary']); ?>
                            </div>
                        </div>
                    </div>

                    <!-- side right column -->
                    <div class="span3 form-sidebar pull-right">
                        <div class="alert alert-info hidden-tablet">
                            <i class="icon-lightbulb pull-left"></i>
                            请在左侧表单当中填写要添加的分类，请选择好上级分类
                        </div>                        
                        <h6>商城分类说明</h6>
                        <p>该分类为无限级分类</p>
                    </div>
                </div>
            </div>
        </div>
    <!-- end main container -->




